# -*- coding: utf-8 -*-
import os
import isBabel
def restore():
	if os.path.exists("build/index_build.html"):
		cmd="copy /Y  build\index_build.html build\index.html"
		print(cmd)
		os.system(cmd)
	else:
		print("no back file")
if isBabel.isBabel():
	print("no need to copy")
else:
	restore()